S-40.1, r. 1 - Regulation under the Act respecting the Québec correctional system

Full text
30. An x-ray of an inmate may be taken provided that it is authorized by the facility director on the request of a correctional officer who is satisfied that there are reasonable grounds to believe that an inmate is carrying contraband in a body cavity or has ingested contraband.
An x-ray is possible only if the measure is necessary to detect and seize the contraband and the written consent of the inmate has been obtained.
O.C. 5-2007, s. 30.